@extends('layouts.back_stage')
@section('content')
    <link rel="stylesheet" href="{{env('CDN_DOMAIN_NAME')}}/css/parameters.css?v=1.0.1">
    <div class="container" >
        <div class="parameter-btn">
            <h3 style="float:left;">业务参数</h3>
            <a class="btn-a" href="/admin/craft_code">工艺名称</a>
            <a class="btn-a" href="/admin/saleSeason">销售季节</a>
            <a class="btn-a" href="javascript:;" style="background:#27c24c;">尺码组设置</a>
            <a class="btn-a" href="/admin/Operation">品牌设置</a>
        </div>
        <ul class="parameter-ul">
            {{--尺码组设置--}}
            <li id="measure" class="parameter-li">
                <div class="mold-choose">
                    <a class="btn btn-danger bt_a" href="javascript:;" onclick="delGroup()">删除</a>
                </div>
                <div class="size_group">
                    <div class="oneGroup"><button type="button" class="groupOne" onclick="groupOne()">+</button></div>
                    <table class="size" border="1" cellspacing="0" cellpadding="0">
                        <tr class="tb_tit">
                            <td style="width:35px;"></td><td>尺码分组</td>
                        </tr>
                        @foreach($pid_infos as $k => $v)
                            <tr class='tb_name name_{{$v['id']}}' abc="{{$v['id']}}">
                                <td>
                                    {{--<input type='checkbox' class='eachGou' value="{{$v['id']}}">--}}
                                    <input type='radio' name="radioEach" class='eachGou' value="{{$v['id']}}">
                                </td>
                                <td class="name">{{$v['id']}} {{$v['name']}}</td>
                                </tr>
                        @endforeach
                    </table>
                </div>
                <div class="group_ul" style="display:none;">
                    <div class="twoGroup"><button type="button" class="groupTwo" onclick="groupTwo()">+</button></div>
                    <table class="group" border="1" cellspacing="0" cellpadding="0">
                        <tr><th colspan="5" rowspan="1">尺码组尺码</th></tr>
                        <tr><td style="width:35px;"></td><td>尺码</td><td>打印标头</td></tr>
                    </table>
                </div>
            </li>
        </ul>
    </div>
    {{--遮罩层--}}
    <div class="mask" style="display:none;"></div>
    {{--一级尺码分组弹框--}}
    <div class="popUp1" style="display:none;">
        <div class="popUp_header1">
            <span>添加一级信息</span>
            <button class="popUp_shut1">×</button>
        </div>
        <div class="popUp_cen1">
            <lable>尺码分组：</lable>
            <input class="txtInp1" type="text" autocomplete="off" autocorrect="off" maxlength="7" placeholder="请填写尺码分组(必)" />
        </div>
        <div class="popUp_bottom">
            <button class="popUp_btn1">确定</button>
        </div>
    </div>
    {{--二级尺码分组弹框--}}
    <div class="popUp2" style="display:none;">
        <div class="popUp_header2">
            <span>添加二级信息</span>
            <button class="popUp_shut2">×</button>
        </div>
        <div class="popUp_cen2">
            <lable>尺码：</lable>
            <input class="txt1" type="text" autocomplete="off" autocorrect="off" maxlength="7" placeholder="请填写尺码(必)" />
        </div>
        <div class="popUp_cen2">
            <lable>打印标头：</lable>
            <input class="txt2" type="text" autocomplete="off" autocorrect="off" maxlength="7" placeholder="请填写打印标头(必)" />
        </div>
        <div class="popUp_bottom">
            <input type="hidden" class="hidtxt" value="">
            <button class="popUp_btn2">确定</button>
        </div>
    </div>
    <script src="{{env('CDN_DOMAIN_NAME')}}/js/sizeSetting.js?v=1.0.1"></script>
@endsection



